home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / apps / 6 / applic / prortr.hex < prev    next >
Encoding:
Text File  |  1985-11-19  |  7.4 KB  |  213 lines

  1. ****************************************************************
  2. *
  3. *    C. Itoh 8510A Prowriter Driver Configuration Table
  4. *
  5. *    Some commands for FX80 and JX80 are also included,
  6. *    but they are commented out.
  7. *
  8. *    This file contains tables defining the code sequences
  9. *    to be sent to the printer to perform various functions
  10. *    and to access the characters from codes in the Atari
  11. *    character set.
  12. *
  13. ****************************************************************
  14.  
  15. *
  16. * Name of printer
  17. * ===============
  18. *
  19. C.Itoh 8510A
  20. *
  21. * Miscellaneous configurable variables
  22. * ====================================
  23. *
  24. * 1: printer type, 0=dot matrix, 1=daisy wheel
  25. *    Note if printer type is 0 the following 4 variables are never used.
  26. * 2: unit width of one character
  27. * 3: unit height of one line
  28. * 4: Approximate middle of carriage after formfeed
  29. * 5: Carriage shift for bold overstrike
  30. *
  31. 0, 0, 0, 0, 0
  32.  
  33. *
  34. * Printer characteristics
  35. * =======================
  36. *
  37. * This table specifies the printer command sequences.
  38. * If the top bit of a code is set, then this indicates the position
  39. * of a parameter passed to the printer. The code whose top bit is set
  40. * in this table is added to the parameter passed before being sent to the
  41. * printer. It is not used in all command sequences, only in those where 
  42. * the printer requires  a variable value such as the length of a vertical 
  43. * tab.
  44. *
  45. * 0                * Character width
  46. 1, D, A         * Linefeed WITH return
  47. * 2                * Forward print
  48. * 3                * Reverse print
  49. * 4, 1B, 42, 80, 0, B    * Vertical tab to line (FX or LX)
  50. * 5                * Absolute horizontal tab 
  51. 6, 1B, 21       * Draft bold on
  52. 7, 1B, 22       * Draft bold off
  53. * 8, 1B, 45        * Near Letter Quality (NLQ) bold on (LX80)
  54. * 9, 1B, 46        * NLQ bold off
  55. A, 1B, 51        * Draft italic on  17 CPI
  56. B, 1B, 45        * Draft italic off 12 CPI 
  57. * C, 1B, 78, 0, 1B, 34, 1B, 47       * NLQ italic on
  58. * D, 1B, 48, 1B, 35, 1B, 78, 1       * NLQ italic off
  59. E, E                * Draft light on Double width on
  60. F, F                * Draft light off Double width off
  61. * 10, 1B, 78, 0    * NLQ light on
  62. * 11, 1B, 78, 1    * NLQ light off
  63. * 12, 1B, 53, 0    * Draft superscript on
  64. * 13, 1B, 54       * Draft superscript off
  65. * 14, 1B, 78, 0, 1B, 53, 0           * NLQ superscript on
  66. * 15, 1B, 54, 1B, 78, 1              * NLQ superscript off
  67. * 16, 1B, 53, 1    * Draft subscript on
  68. * 17, 1B, 54       * Draft subscript off
  69. * 18, 1B, 78, 0, 1B, 53, 1           * NLQ subscript on
  70. * 19, 1B, 54, 1B, 78, 1              * NLQ subscript off
  71. 1A, 1B, 58      * Draft underline on
  72. 1B, 1B, 59      * Draft underline off
  73. * 1C, 1B, 2D, 1    * NLQ underline on
  74. * 1D, 1B, 2D, 0    * NLQ underline off
  75. 1E, C           * Formfeed
  76. 1F, 1B, 45        * Horizontal initialisation 12 CPI
  77. 20, 1B, 50        * Vertical initialisation  Prop.
  78. * 21, 1B, 40      * Termination: printer reset
  79. 0               * NULL termination byte
  80.  
  81. *
  82. * Translation Table
  83. * =================
  84. *
  85. * This table provides translation from single Atari input bytes into
  86. * multiple Epson printer codes, and is useful for printing extraneous
  87. * characters such as accented characters etc. All characters are 
  88. * subjected to translation, but if there is no entry in the table for
  89. * a particular code, then the original code is sent to the printer.
  90. *
  91. * The entries must be arranged in ascending order of Atari input
  92. * code. The table is NULL terminated.
  93.  
  94. 0                          * NULL: print a space 
  95. 1, 1B, 26, C0              * Up arrow ⇧
  96. 2, 1B, 26, C1              * Down arrow ⇩
  97. 3, 1B, 26, C3              * Right arrow ⇨
  98. 4, 1B, 26, C2              * Left arrow ⇦
  99. 5, 1B, 26, CA              * Close box ❎
  100. 6, E7              * Size box ╱
  101. 7, F0              * Full box ◆
  102. 8, 1B, 26, BE              * Tick ✓
  103. 9             * No clock
  104. A             * No bell
  105. B             * No musical note
  106. E             * No LH Atari symbol     
  107. F             * No RH Atari symbol 
  108. 10, 1B, 26, CF        * LCD 0 נ
  109. 11, 1B, 26, D0        * LCD 1 ס
  110. 12, 1B, 26, D1        * LCD 2 ע   
  111. 13, 1B, 26, D2        * LCD 3 פ
  112. 14, 1B, 26, D3        * LCD 4 צ
  113. 15, 1B, 26, D4        * LCD 5 ק
  114. 16, 1B, 26, D5        * LCD 6 ר
  115. 17, 1B, 26, D6        * LCD 7 ש    
  116. 18, 1B, 26, D7        * LCD 8 ת
  117. 19, 1B, 26, D8        * LCD 9 ן     
  118. 23, 23        * # from USA fount
  119. 24, 24        * $ from USA fount
  120. 40, 40        * @ from USA fount
  121. 5B, 5B        * [ from USA fount
  122. 5C, 5C        * \ from USA fount
  123. 5D, 5D        * ] from USA fount
  124. 5E, 5E        * ^ from USA fount
  125. 60, 60        * ' from USA fount
  126. 7B, 7B        * { from USA fount
  127. 7C, 7C        * | from USA fount
  128. 7D, 7D        * } from USA fount
  129. 7E, 7E        * ~ from USA fount
  130. 7F, 1B, 26, B8           *  Triangle
  131. 80, 80                   * Row 8 chars. = 8x hex
  132. 90, 90                   * Row 9 chars. = 9x hex
  133. A0, 1B, 26, A0           * á    A0 through E7 print
  134. A1, 1B, 26, A1           * í    as shown in the printer
  135. A2, 1B, 26, A2           * ó    manual for columns A, B, C, D and E.
  136. A3, 1B, 26, A3           * ú
  137. A4, 1B, 26, A4           * ñ
  138. A5, 1B, 26, A5           * Ñ
  139. A6, 1B, 26, A6           * ª
  140. A7, 1B, 26, A7           * º
  141. A8, 1B, 26, A8           * ¿
  142. A9, 1B, 26, A9           * ⌐
  143. AA, 1B, 26, AA           * ¬
  144. AB, 1B, 26, AB           * ½ 
  145. AC, 1B, 26, AC           * ¼
  146. AD, 1B, 26, AD           * ¡
  147. AE, 1B, 26, AE           * «
  148. AF, 1B, 26, AF           * »
  149. B0, 1B, 26, B0           * ã
  150. B1, 1B, 26, B1           * õ                   
  151. B2, 1B, 26, B2           * Ø
  152. B3, 1B, 26, B3           * ø
  153. B4, 1B, 26, B4           * œ
  154. B5, 1B, 26, B5           * Œ
  155. B6, 1B, 26, B6           * À
  156. B7, 1B, 26, B7           * Ã
  157. B8, 1B, 26, B8           * Õ
  158. B9, 1B, 26, B9           * ¨
  159. BA, 1B, 26, BA           * ´
  160. BB, 1B, 26, BB           * †
  161. BC, 1B, 26, BC           * ¶
  162. BD, 1B, 26, BD           * ©
  163. BE, 1B, 26, BE           * ®
  164. BF, 1B, 26, BF           * ™
  165. C0, 1B, 26, C0           * ij
  166. C1, 1B, 26, C1           * IJ 
  167. C2, 1B, 26, C2           * א 
  168. C3, 1B, 26, C2           * ב
  169. C4, 1B, 26, C4           * ג
  170. C5, 1B, 26, C5           * ד
  171. C6, 1B, 26, C6           * ה
  172. C7, 1B, 26, C7           * ו
  173. C8, 1B, 26, C8           * ז
  174. C9, 1B, 26, C9           * ח
  175. CA, 1B, 26, CA           * ט
  176. CB, 1B, 26, CB           * י
  177. CC, 1B, 26, CC           * כ
  178. CD, 1B, 26, CD           * ל
  179. CE, 1B, 26, CE           * מ
  180. CF, 1B, 26, CF           * נ
  181. D0, 1B, 26, D0           * ס
  182. D1, 1B, 26, D1           * ע
  183. D2, 1B, 26, D2           * פ
  184. D3, 1B, 26, D3           * צ
  185. D4, 1B, 26, D4           * ק
  186. D5, 1B, 26, D5           * ר
  187. D6, 1B, 26, D6           * ש
  188. D7, 1B, 26, D7           * ת
  189. D8, 1B, 26, D8           * ן
  190. D9, 1B, 26, D9           * ך
  191. DA, 1B, 26, DA           * ם
  192. DB, 1B, 26, DB           * ף
  193. DC, 1B, 26, DC           * ץ
  194. DD, 1B, 26, DD           * §
  195. DE, 1B, 26, DE           * ∧ 
  196. DF, 1B, 26, DF           * ∞ 
  197. F1, 1B, 26, C4           * ±     
  198. F2, 1B, 26, C6           * ≥     
  199. F3, 1B, 26, C7           * ≤     
  200. F6, F7                   * ÷
  201. F7, 1B, 26, C8           * ≈     
  202. F8, 1B, 26, CF           * °     
  203. F9, 1B, 26, DE           * ∙     Asterisk
  204. FA        * No inferior bullet
  205. FB, 1B, 26, BE          * √  Square root sign
  206. FC        * No superior n
  207. FD, 1B, 26, D1          * ② Superior 2
  208. FE, 1B, 26, D2          * ③ Superior 3
  209. FF, 1B, 26, DC          * ¯  Macron     
  210. 0
  211.  was undertaken to
  212.     demonstrate the ease of converting 8-bit ATARI BASIC programs with gra